from spider.product import Product


# 数据储存器
class DataStorage:
    def storage(self, products):
        """
        数据存储
        @param products: set结构
        @return:
        """
        for i in products:
            print(i)

# s = set()
# s.add(Product(1, 2, 3))
# s.add(Product(4, 5, 6))
# storage = DataStorage()
# storage.storage(s)
